package com.zkr.mapper;

import com.zkr.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;



@Mapper
public interface UserMapper {
	 List<User> find();

	 User findById(@Param("id") Integer id);
	 /**
	  *
	  * 功能描述: 保存用户
	  * @author:mayue
	  * @date: 2018/8/30 上午 10:19
	  * @param: [user]
	  * @return: void
	  * @throws:
	  *
	  */
	 void saveUser(User user);
}
